/**
 * @(#)UserCateringSchemeUpdateRequest.java
 *
 * Copyright (c) 2014-2014  苏州犀牛网络科技有限公司 版权所有
 * xiniunet. All rights reserved.
 *
 * This software is the confidential and proprietary
 * information of  xiniunet.
 * ("Confidential Information"). You shall not disclose
 * such Confidential Information and shall use it only
 * in accordance with the terms of the contract agreement
 * you entered into with xiniunet.
 */
package com.showcal.platform.request;

import com.xiniunet.framework.base.BaseUpdateRequest;
import com.xiniunet.framework.constant.RegExpConst;
import org.hibernate.validator.constraints.Email;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.util.Date;


/**
 * Created by 顾志雄 on 2015-11-03 11:23:10.
 * @author 顾志雄
 */
public class UserCateringSchemeUpdateRequest extends BaseUpdateRequest {
    
    /**
     * 主键 
     */
    @NotNull(message = "主键不能为空")
    private  Long   id;
    
    /**
     * 承租人ID 用户id
     */
    @NotNull(message = "承租人ID不能为空")
    private  Long   userId;
    
    /**
     * 开始时间 用户餐饮方案表
     */
    
    private  Date   startTime;
    
    /**
     * 结束时间 用户餐饮方案表
     */
    
    private  Date   endTime;
    
    /**
     * 方案id 
     */
    
    @Length(min=0, max=50, message = "方案id长度不合法")
    private  String   schemeId;

    /**
     * 是否活跃
     */

    @Length(min=0, max=1, message = "是否活跃长度不合法")
    private  String   isActive;

    public String getIsActive() {
        return isActive;
    }

    public void setIsActive(String isActive) {
        this.isActive = isActive;
    }

    public Long getId() {
    return this.id;
    }

    public void setId(Long  id) {
    this.id = id;
    }
    
    public Long getUserId() {
    return this.userId;
    }

    public void setUserId(Long  userId) {
    this.userId = userId;
    }
    
    public Date getStartTime() {
    return this.startTime;
    }

    public void setStartTime(Date  startTime) {
    this.startTime = startTime;
    }
    
    public Date getEndTime() {
    return this.endTime;
    }

    public void setEndTime(Date  endTime) {
    this.endTime = endTime;
    }
    
    public String getSchemeId() {
    return this.schemeId;
    }

    public void setSchemeId(String  schemeId) {
    this.schemeId = schemeId;
    }
    

}
